package org.template.myplus1.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

@RestController
public class StudentScoreController {

    @Value("${server.port}")
    private String port;
//    dasdfsafs
    @GetMapping("/mvcTest")
    public String mvcTest(){
        return LocalDateTime.now()+" === "+port;
    }
}
